using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Booking
/// </summary>
public class Booking
{

    /// <summary>
    /// Fields of Booking
    /// </summary>
    #region Fields
    int id;
    byte type;
    int customerID;
    byte state;  
    DateTime modifiedDate;   
    int modifiedBy;   
   
    #endregion

    /// <summary>
    /// Properties of Booking
    /// </summary>
    #region Properties
    //
    public int BookingID
    {
        get { return id; }
        set { id = value; }
    }
    public byte Type
    {
        get { return type; }
        set { type = value; }
    }
    public int CustomerID
    {
        get { return customerID; }
        set { customerID = value; }
    }
    public byte State
    {
        get { return state; }
        set { state = value; }
    }
    public DateTime ModifiedDate
    {
        get { return modifiedDate; }
        set { modifiedDate = value; }
    }
    public int ModifiedBy
    {
        get { return modifiedBy; }
        set { modifiedBy = value; }
    }
    #endregion

    /// <summary>
    /// Constructures Booking
    /// </summary>
    #region Constructures
    public Booking()
    {
        id = 0;
        customerID = 0;
        state = 0;
        modifiedBy = 0;
        modifiedDate = new DateTime();

    }
    public Booking(int id,int customerID ,byte state, DateTime modifiedDate, int modifiedBy)
	{
        this.id = id;
        this.customerID = customerID;
        this.state = state;
        this.modifiedBy = modifiedBy;
        this.modifiedDate = modifiedDate;
    }
    #endregion
}
